package com.ljx.recruitment.interview.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ljx.recruitment.interview.typehandler.JobLocationDetailsTypeHandler;
import com.ljx.recruitment.interview.typehandler.details.JobLocationDetails;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * @Author: LiJunXi
 * @Description:
 * @Date: 2024-11-01  23:44
 */
@Data
@TableName("tb_job")
public class Job {

    private Long id;

    private String name;

    private Long jobTypeId;

    private Integer category;

    private Integer kind;

    private String salary;

    private String jobRequire;

    private String jobDuty;

    private Long tenantId;

    private Integer oc;

    private Integer hc;

    private Integer year;

    @TableField(typeHandler = JobLocationDetailsTypeHandler.class)
    private JobLocationDetails jobLocationDetails;

    private Date createTime;

    private Date updateTime;

    private Integer status;

    private Integer ver;
}
